
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/sys-tags" prefix="sys" %>
<html>
<head>
<title><s:text name="title_homePage"></s:text></title>
<%@ include file="header.jsp"%>
<link href="${appPath}/css/index.css"rel="stylesheet" type="text/css" />
<link href="${appPath}/css/nav.css"rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function(){
var goods="<s:property value="goodsList"/>";
if(goods==""||null){
	document.forms[0].action = appPath+"/webgoods/homePageInit.action";
	document.forms[0].submit();
}
});

</script>
</head>
<body>
<form action=""></form>
<%@ include file="nav.jsp" %>

<div  id="topcontent" >
<div id="log"><s:text name="tiltle_hotGoods"></s:text></div>
<s:if test="#session.user!=null">
<div id="login">
<a href="${appPath}/webgoods/logOut.action" id="logOut"><s:text name="label_loginWord3"></s:text></a>
<a href="${appPath}/webcom/updateUserInit.action?userid=<s:property value="#session.user.user_id"/>" id="a1"><s:text name="label_loginWord2"></s:text><s:property value="#session.user.email"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
</div>
</s:if>
<s:else>
<div id="login">
<a href="${appPath}/webcom/doInit.action" id="registerButton"><s:text name="label_loginWord4"></s:text></a>
<a href="${appPath}/view/common/login.jsp" id="a1"><s:text name="label_loginWord1"></s:text>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </a>
</div>
</s:else>
</div>
<s:iterator value="goodsList" id="goodsList">
<div id="good1" class="content">
<div  class="content2">
<a href="${appPath}/webgoods/goodInfo.action?goodsId=<s:property value='%{goods_id}' />&languageId=<s:property value='%{language_id}'/>">

<sys:image imagePath="${goods_img}"></sys:image>
</a>
<p>&nbsp;</p>
<p align="left"><a href="${appPath}/webgoods/goodInfo.action?goodsId=<s:property value='%{goods_id}'/>&languageId=<s:property value='%{language_id}'/>">&nbsp;&nbsp;&nbsp;&nbsp;<s:property value="%{descriptionx}"/></a>
</p>
<p>&nbsp;</p>
</div>
</div>
</s:iterator>

	<div id="footer">
	<div id="footerbottom">
			<a href="#" class="first">サイトマップ</a>
			<a href="#">ホットニュース</a>
			<a href="#">RSSフィード</a>
			<a href="#">プレスリリース</a>
			<a href="#">環境</a>
			<a href="#">採用情報</a>
			<a href="#">連絡先</a>	
			<p align="center">Copyright © 2014 XXXX Inc. All rights reserved.</p>
			
		<a href="#">利用規約</a>
		<a href="#">プライバシーポリシー</a>
	</div>
	</div>

</body>
</body>
</html>